<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    



    <script>
        function User(name,age,address){
            this.name = name;
            this.age = age;
            this.address = address;
            this.into = function(){
                alert(name)
            }
        }
        let person1 = new User("张三",20,"重庆");
        let person2 = new User("李四",22,"重庆");
        let person3 = new User("王五",25,"重庆");
        person2.into();
    </script>
</body>
</html>